package com.zfzs.post.modules.flow.service;

import com.zfzs.post.modules.flow.domain.OtherIncome;
//import org.springframework.cache.annotation.CacheConfig;
//import org.springframework.cache.annotation.CacheEvict;
//import org.springframework.cache.annotation.Cacheable;

import java.util.Date;
import java.util.List;

/**
* @author wq
* @date 2019-10-21
*/
public interface OtherIncomeService {

    List<OtherIncome> findByAgentId(Long agentId);

    List<OtherIncome> findByAgentIdAndTime(Long agentId, String startDate, String endDate, Integer pageNum);

    void save(OtherIncome otherIncome);

    OtherIncome findOneBySnAndTitle(Long agentId, String sn, String title);
}